https://flak.tedunangst.com/files/sct.c
